package com.yn.club.auth.domain.convert;

import java.time.LocalDateTime;
import java.util.List;
import com.yn.club.auth.domain.entity.AuthUserRoleDO;
import com.yn.club.auth.infra.basic.entity.AuthUserRole;

import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 用户角色表(AuthUserRole)DO和Entity转换
 *
 * @author YN
 * @since 2025-01-22 10:07:43
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface AuthUserRoleDomainConverter {

  AuthUserRole convertDoToEntity(AuthUserRoleDO ojb);
  
  List<AuthUserRole> convertDoToEntity(List<AuthUserRoleDO> ojbs);
  
  AuthUserRoleDO convertEntityToDo(AuthUserRole ojb);
  
  List<AuthUserRoleDO> convertEntityToDo(List<AuthUserRole> ojbs);
  
  
}

